<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ld.com/shield/tags" prefix="shield"%>
<%@ taglib uri="http://www.ld.com/system/tags" prefix="system"%>
<%@ page trimDirectiveWhitespaces="true" %>
<fmt:setLocale value="zh_CN"/>
    <table class="tab-show">
    	<colgroup>
    		<col width="20%">
    		<col width="">
    	</colgroup>
        <tr>
	    	<th>
            	<label>存在敏感词：</label>
        	</th>
         	<td><c:if test="${model.contains }"><span class="tips">是</span></c:if><c:if test="${not model.contains }"><span style="color: green;">否</span></c:if></td>
		</tr>
<c:if test="${model.contains }">
		<tr>
	    	<th>
            	<label>处理后：</label>
        	</th>
         	<td>${model.filteredContent }</td>
		</tr>
		<tr>
	    	<th>
            	<label>敏感词：</label>
        	</th>
         	<td>${fn:length(model.sensitiveWords) }:<span class="tips">${model.sensitiveWords }</span></td>
		</tr>
		<tr>
	    	<th>
            	<label>其中包含替换词：</label>
        	</th>
         	<td>${fn:length(model.replaceWords) }:<span class="tips">${model.replaceWords }</span></td>
		</tr>
		<tr>
	    	<th>
            	<label>其中包含禁用词：</label>
        	</th>
         	<td>${fn:length(model.sensitiveWordsActive) }:<span class="tips">${model.sensitiveWordsActive }</span></td>
		</tr>
</c:if>
    </table>
